package com.sgcc.epri.dcloud.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

@Data
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@TableName("${dm.private-schema-name}.SG_TABLEHEAD_H")
public class TableHead {

    /**
     * 雪花id自增
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    private String parentIdTree; // --引用树形结构id

    private String objectId;

    private String objectName;

    private String assetTypeNames; // -- 在每次编辑资产类型时总结该字段

    private String sort; // --顺序

    private String hiddenFlag; // -- 0隐藏、1不隐藏,

    private String indexNames; // 指标名简写

    private String assetNames; // 资产类型名简写

    private String dataType; //  --  哪一方的数据？dky_db、nr
}
